package com.lw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author LW
 * @2020/8/25 14:33
 */
@Controller
public class StaticController {

    @GetMapping({"/","/index"})
    public String index(){
        return "myShop";
    }

    @GetMapping("shop")
    public String shop(){
        return "myShop";
    }
}
